package com.online.service.user;

import com.online.pojo.User;
import com.online.pojo.menu;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    public User login( String name);
    public boolean submit(String number, String name,String pwd);
    //修改权限
    public boolean editPermission(String name) throws SQLException;
//
    public List<menu> showAllmenu(List<menu> list) throws SQLException;
    public boolean addM(String name,double account) throws SQLException;
    public boolean cutM(String name,double price) throws SQLException;
}
